Object.AddHandleProperty


Adds a handle property to an object and sets its initial value.

prototype bool Object.AddHandleProperty( hobject o,
                                         string property,
                                         hobject v );

Parameters:
o : The object handle for the object being altered.
property : The name of the user property to be added to the object.
v : The initial value to assign to the property.

Return value:
Returns a boolean indicating if a user property was successfully created.

Notes:
A user property cannot be added if it already exists as either a built in or user property.

See also:
Object.AddFloatProperty, Object.AddIntProperty, Object.AddStringProperty, Object.AddStringProperty, Object.AddBoolProperty